package com.my.coolq.api.request;

import java.io.Serializable;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.serializer.SerializerFeature;

/**
 * 设置群管理员
 * @author ch
 *
 */
public class SetGroupAdminRequest implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -6079216764161283163L;

	/**
	 * 群qq号码
	 */
	private Long group_id;
	
	/**
	 * 要设置管理员的 QQ 号
	 */
	private Long user_id;
	
	/**
	 * true 为设置，false 为取消
	 */
	private Boolean enable;
	
	

	public SetGroupAdminRequest() {
		super();
	}
	
	

	public SetGroupAdminRequest(Long group_id, Long user_id, Boolean enable) {
		super();
		this.group_id = group_id;
		this.user_id = user_id;
		this.enable = enable;
	}



	public Long getGroup_id() {
		return group_id;
	}

	public void setGroup_id(Long group_id) {
		this.group_id = group_id;
	}

	public Long getUser_id() {
		return user_id;
	}

	public void setUser_id(Long user_id) {
		this.user_id = user_id;
	}

	public Boolean getEnable() {
		return enable;
	}

	public void setEnable(Boolean enable) {
		this.enable = enable;
	}
	
	@Override
	public String toString() {
		return JSON.toJSONString(this, SerializerFeature.UseISO8601DateFormat);
	}
	

}
